home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / include / swapBuffer.h < prev    next >
C/C++ Source or Header  |  1990-04-19  |  968b  |  37 lines

  1. /*
  2.  * swapBuffer.h --
  3.  *
  4.  *    Declarations of public routines for byte-swapping data and
  5.  *    calculating byte-swapped data size.
  6.  *
  7.  * Copyright 1988 Regents of the University of California
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that the above copyright
  11.  * notice appear in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  * $Header: /sprite/src/lib/include/RCS/swapBuffer.h,v 1.3 90/03/29 12:45:03 mendel Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #ifndef _SWAP
  20. #define _SWAP
  21.  
  22. /* constants */
  23.  
  24. /* data structures */
  25.  
  26. /* procedures */
  27.  
  28. #define SWAP_SUN_TYPE    0
  29. #define    SWAP_VAX_TYPE    1
  30. #define    SWAP_SPUR_TYPE    2
  31. #define    SWAP_SPARC_TYPE    SWAP_SUN_TYPE
  32.  
  33. extern    void    Swap_Buffer();
  34. extern    void    Swap_BufSize();
  35.  
  36. #endif /* _SWAP */
  37.